﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace blackhouse.Payments.Data.Sql {
    public class SqlPaymentsDataFactory : PaymentsDataFactory {

        private static SqlPaymentsDataAccess paymentDataAccess;

        public override IPaymentsDataAccess GetPaymentDataAccess() {
            if (paymentDataAccess == null) paymentDataAccess = new SqlPaymentsDataAccess();
            return paymentDataAccess;
        }

    }
}